// 自动生成模板Commodity
package commodity

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	
)

// Commodity 结构体
type Commodity struct {
      global.GVA_MODEL
      Commodity_user  *int `json:"commodity_user" form:"commodity_user" gorm:"column:commodity_user;comment:commodity_user;"`
      Commodity_title  string `json:"commodity_title" form:"commodity_title" gorm:"column:commodity_title;comment:commodity_title;"`
      Commodity_text  string `json:"commodity_text" form:"commodity_text" gorm:"column:commodity_text;comment:commodity_text;"`
      Commodity_price  *float64 `json:"commodity_price" form:"commodity_price" gorm:"column:commodity_price;comment:commodity_price;"`
      Commodity_send  *int `json:"commodity_send" form:"commodity_send" gorm:"column:commodity_send;comment:commodity_send;"`
      Commodity_position  *int `json:"commodity_position" form:"commodity_position" gorm:"column:commodity_position;comment:commodity_position;"`
      Commodity_label  *int `json:"commodity_label" form:"commodity_label" gorm:"column:commodity_label;comment:commodity_label;"`
}


// TableName Commodity 表名
func (Commodity) TableName() string {
  return "commodity"
}

